from django.db import models
from django.contrib.auth.models import User

# Create your models here.

class MyUser(models.Model):
	user = models.OneToOneField(User)
	AuthNum = models.CharField('AuthNum',max_length=256)
	Group = models.CharField('Group', max_length=16)
	LoginTime = models.DateField('LoginTime', blank=True)
	lastlogin = models.DateField('lastlogin', blank=True)
	def __str__(self):
		return self.AuthNum